#!/bin/bash
export NODE_OPTIONS=--openssl-legacy-provider && \
yarn build:prod && \
cp -r build/dist build/"dist$(date "+%Y-%m-%d-%H-%M-%S")" && \
scp -r build/dist root@bt.dabenshu.com:/www/wwwroot/ims.dabenshu.com/ && \
echo "success !"

